package com.demo.bean;

import java.util.List;
import java.util.Set;

public class Dept {

	private int deptNo;
	private String dname;
	private String loc;
	
	private List<Emp> empList;
	private Set<Emp> empSet;
	public int getDeptNo() {
		return deptNo;
	}
	public void setDeptNo(int deptNo) {
		this.deptNo = deptNo;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getLoc() {
		return loc;
	}
	public void setLoc(String loc) {
		this.loc = loc;
	}
	public List<Emp> getEmpList() {
		return empList;
	}
	public void setEmpList(List<Emp> empList) {
		this.empList = empList;
	}
	public Set<Emp> getEmpSet() {
		return empSet;
	}
	public void setEmpSet(Set<Emp> empSet) {
		this.empSet = empSet;
	}
	@Override
	public String toString() {
		return "Dept [deptNo=" + deptNo + ", dname=" + dname + ", loc=" + loc
				+ ", \nempList=" + empList + ", \nempSet=" + empSet + "]";
	}
	
	
}
